Property-based testing of privileged programs
نویسندگان
چکیده
We address the problem of testing security-relevant software, especially privileged (typically setuid root) and daemon programs in UNIX. The problem is important , since it is these programs that are the source of most UNIX security aws. For some programs, such as the UNIX sendmail program, new security aws are still discovered, despite being in use for years. For special-purpose systems with fewer users, aws are likely to remain undiscovered for even longer. Our testing process is driven by speciications we create for the privileged programs. These speciications simultaneously deene the allowed behavior for these programs and identify problematic system calls, regions where the program is vulnerable, and generic security aws. The speciications serve three roles in our testing methodology: as criteria against which a program is sliced, as oracles against which it is tested, and as a basis for generating useful tests. Slicing is employed to signiicantly reduce the size of the program to be tested. We show that a slice of a privileged program (rdist) with respect to its security speciications is quite small. We introduce the Tester's Assistant, a collection of tools to mechanize the process of testing security-related C programs.
منابع مشابه
Automated Detection of Vulnerabilities in Privileged Programs
We present a method for detecting exploitations of vul-nerabilities in privileged programs by monitoring their execution using audit trials, where the monitoring is with respect to speciications of the security-relevant behavior of the programs. Our work is motivated by the intrusion detection paradigm, but is an attempt to avoid ad hoc approaches to codifying misuse behavior. Our approach is b...
متن کاملAbstract Combinatorial Programs and Efficient Property Testers
COMBINATORIAL PROGRAMS AND EFFICIENT PROPERTY TESTERS∗ ARTUR CZUMAJ† AND CHRISTIAN SOHLER‡ Abstract. Property testing is a relaxation of classical decision problems which aims at distinguishing between functions having a predetermined property and functions being far from any function having the property. In this paper we present a novel framework for analyzing property testing algorithms. Our ...
متن کاملSome Attributes of a Language for Property-Based Testing
Property-based testing is a testing technique that evaluates executions of a program. The method checks that specifications, called properties, hold throughout the execution of the program. TASpec is a language used to specify these properties. This paper compares some attributes of the language with the specification patterns used for model-checking languages, and then presents some descriptio...
متن کاملExplaining the main factors shaping and establishing leadership of managers: grounded theory method
Introduction: Among human resources, the role of leadership is more privileged and more prominent than others, so it can be said that the success of an organization depends to a large extent on the efficiency of management and leadership. The present study aims to explain the main factors shaping and establishing the creative leadership of managers. Method: This study was carried out within the...
متن کاملSecure IX Network
This paper sketches a design for a network of computers running the McIlroyReeds IX system. The emphasis is on modularity and decentralization; security does not rely much on central key distribution. It assumes that there are multiple overlapping domains of authority, and relies only loosely on an ultimate common organizational loyalty. This work is speculative. It is heavily influenced by the...
متن کامل